home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
MACFONTX.ZIP
/
BM2AFM02.ZIP
/
BMAP2AFM.DOC
< prev
next >
Wrap
Text File
|
1993-01-07
|
3KB
|
58 lines
Bmap2AFM vers 0.2
Bmap2AFM is a free utility from Small Planet Software. At present, it is
available for the MS-DOS platform only.
Bmap2AFM converts the metric information in Macintosh screen fonts into Adobe
AFM metrics. The screen font file frequently has the extension ".bmap" which
explains the filename. Note, however, that it can have any name and the
easiest way to recognize it (when looking at the output from extract-pc, for
example) is by the filetype, "FFIL". Bmap2AFM converts metric (width)
information and kerning information from the Mac file into AFM format. If the
Mac file contains an 'encoding vector', please contact Small Planet Software
(I've never found an example of a font that did, so I haven't been able to
implement that part...). Note: the .bmap file does not contain all of the
information needed to construct a complete AFM file, when necessary (for
example to compute bounding boxes) Bmap2AFM constructs "reasonable" values
that may or may not be perfectly accurate.
Since I have been unable to find a reference that explains how to decode the
information contained in a Mac resource fork, this program works by a process
of educated guesswork. In the course of running the program, it may ask
several questions.
The first thing Bmap2AFM attempts to do is find the FOND resource in the file.
It does this by pattern matching and, if more than one pattern is found, it
will ask you which one to use. All I can suggest is that you select the first
one and see what metrics get generated. If you get the warning "Width table
does not conform to spec," you should run Bmap2AFM again and try a different
match. Note, however, that the Mac file may contain the metrics for more than
one font and, in that case, it is reasonable for it to contain more than one
legal FOND. You will have to rerun Bmap2AFM to extract the metrics for each
FOND.
As noted above, one way for a .bmap file to contain metrics for multiple fonts
is for it to contain multiple FONDs. Another way is for a single FOND to
contain multiple tables. If the FOND contains multiple width tables, Bmap2AFM
will ask you which table to use. The prompt will contain the font names so it
should be easy to figure out which one to pick. The Mac can perform a few
"automagic" effects (like bolding, for example) and there may be different
width tables for these fonts. If you don't have the type-1 or TrueType
sources for the other fonts, their width tables are probably useless to you.
Apologies, in advance, for the lack of sophistication that this program
exhibits and the relatively poor quality of this documentation. But it
is only version 0.2, right?
If you have any questions or problems, please don't hesitate to contact
Small Planet Software at
87 South Silver Lane, #2
Sunderland, MA 01375
USA
or electronically at <walsh@cs.umass.edu> on the Internet.
Regards,
norm